package com.jymj.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 时间基础传入参数
 * @author Lzh
 * @date 2021/3/25 9:40
 */
@Data
public class DateBaseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date stDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date enDate;
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date endDate;
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date month;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

}
